package com.sizu.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.sizu.entity.TRole;
import com.sizu.mapper.TRoleMapper;
import com.sizu.service.ITRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-22
 */
@Service
public class TRoleServiceImpl extends ServiceImpl<TRoleMapper, TRole> implements ITRoleService {

    @Autowired
    private TRoleMapper tRoleMapper;

    @Override
    public List<TRole> getRoleMenu(Integer id) {
        return tRoleMapper.getRoleMenu(id);
    }
}
